package com.moli.iov.down.command.design.command.param.result.impl;

import com.moli.iov.down.model.dto.req.VehicleParamDto;
import com.moli.iov.down.command.codec.decode.bean.extend.QueryResExtendBean;
import com.moli.iov.down.command.design.command.param.result.ParamQueryResultCommand;

/**
 * <p>
 * 软件版本
 * </p>
 *
 * @author: zql
 * @Date: 2019/4/26 18:12
 */
public class SoftwareVersionCommand implements ParamQueryResultCommand {

    @Override
    public VehicleParamDto execute(VehicleParamDto vehicleParamDto, QueryResExtendBean qreb) {
        vehicleParamDto.setDeviceSoftVersion(qreb.getValue());
        return vehicleParamDto;
    }
}
